// 大名科技（天津）有限公司版权所有  电话：18020030720  QQ：515096995
//
// 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证

namespace Admin.NET.Core.Service;

public class FileOutput : SysFile
{
    /// <summary>
    /// 文件数据题目的ABCD
    /// </summary>
    public string? TypeFile { get; set; }

    public string? Uid { get; set; }
    public long? ObjId { get; set; }

}

public class FileBaseOutput
{
    /// <summary>
    /// id
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 提供者
    /// </summary>
    public string? Provider { get; set; }

    /// <summary>
    /// 仓储名称
    /// </summary>
    public string? BucketName { get; set; }

    /// <summary>
    /// 文件名称（源文件名）
    /// </summary>
    public string? FileName { get; set; }

    /// <summary>
    /// 文件后缀
    /// </summary>
    public string? Suffix { get; set; }

    /// <summary>
    /// 文件大小KB
    /// </summary>
    public string? SizeKb { get; set; }


    /// <summary>
    /// 外链地址-OSS上传后生成外链地址方便前端预览
    /// </summary>
    public string? Url { get; set; }
}
